<!DOCTYPE html>
<html lang="zh">

<head>
    <title>编辑项目</title>
    <link id="theme" rel="stylesheet" type="text/css" href="../css/light.css">
    <link rel="stylesheet" type="text/css" href="../css/fonts.css">
</head>

<body class="dialogBody" onload="new EditProject();">
    <table class="fill_width">
        <tr>
            <td class="middle">
                <label for="nameInput">项目名称</label>
            </td>
            <td class="fill_width middle">
                <input type="text" id="nameInput" class="table_input">
            </td>
        </tr>
    </table>

    <table>
        <tr>
            <td style="width:50%; padding:0;">
                <table class="fill_width">
                    <tr style="height: 2.5em;">
                        <td class="middle noWrap">
                            <label for="srcLangSelect">源语言</label>
                        </td>
                        <td class="fill_width middle form_height">
                            <select id="srcLangSelect" class="fill_width">
        
                            </select>
                        </td>
                    </tr>
                    <tr style="height: 2.5em;">
                        <td class="middle noWrap">
                            <label for="tgtLangSelect">目标语言</label>
                        </td>
                        <td class="fill_width middle form_height">
                            <select id="tgtLangSelect" class="fill_width">
        
                            </select>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width:50%; padding:0;">
                <table class="fill_width">
                    <tr style="height: 2.5em;">
                        <td class="middle">
                            <label for="subjectInput">主题</label>
                        </td>
                        <td class="fill_width middle form_height">
                            <input list="subjects" id="subjectInput" class="table_input middle" >
                            <datalist id="subjects">
                                <option value="none">
                            </datalist>
                        </td>
                    </tr>
                    <tr style="height: 2.5em;">
                        <td class="middle">
                            <label for="clientInput">客户</label>
                        </td>
                        <td class="fill_width middle form_height">
                            <input list="clients" id="clientInput" class="table_input middle" >
                            <datalist id="clients">
                                <option value="none">
                            </datalist>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>

    <div class="buttonArea">
        <span class="fill_width">&nbsp;</span>
        <button id="updateProjectButton">更新项目</button>
    </div>
    
    <!-- 移除语音识别功能 -->
    <!-- <script src="../js/voiceRecognition.js"></script> -->
    <!-- <script>
        document.addEventListener('DOMContentLoaded', function() {
            setTimeout(function() {
                if (typeof initVoiceRecognitionForPage === 'function') {
                    initVoiceRecognitionForPage();
                    console.log('项目编辑页面语音识别功能已初始化');
                }
            }, 500);
        });
    </script> -->
    
    <script src="../js/editProject.js"></script>
</body>

</html>